package com.sdp.right.db.sys_rdp_report.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sdp.right.db.sys_rdp_report.mapper.SysRdpReportMapper;
import com.sdp.right.db.sys_rdp_report.service.ISysRdpReportService;
import com.sdp.right.entity.SysRdpReport;
import com.sdp.right.service.RemoveSystemService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zsp
 * @since 2023-10-19
 */
@Service
@DS(value="right")
public class SysRdpReportServiceImpl extends ServiceImpl<SysRdpReportMapper, SysRdpReport> implements ISysRdpReportService,RemoveSystemService{

	@Override
	public void removeBySystemNo(String systemNo) {
		LambdaQueryWrapper<SysRdpReport> queryWrapper = new LambdaQueryWrapper<>();
		queryWrapper.eq(SysRdpReport::getSystemNo, systemNo);
		remove(queryWrapper);
		
	}

}
